package com.taotao.sso.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.taotao.common.TaotaoResult;
import com.taotao.pojo.TbUser;

public interface UserService {
	TaotaoResult checkDate(String param,Integer type);
	
	TaotaoResult createUser(TbUser user);
	
	TaotaoResult userLogin(String username,String password,HttpServletRequest request,HttpServletResponse response);
	
	TaotaoResult getUserByToken(String token);
}
